.home-main-charts {
  height: 640px;
  background-color: #fff;
  border-radius: 8px;
  position: relative;
  z-index: 0;
  //padding: 20px;

  .title-and-calendar {
    padding: 20px 20px 0 20px;
    display: flex;
    justify-content: space-between;
    .main-chart-title {
      font-weight: 500;
      font-size: 16px;
      color: #1E2126;
      letter-spacing: 0.1px;
      line-height: 24px;
      .sub-title {
        margin-left: 12px;
        font-size: 12px;
        color: #848C95;
        line-height: 16px;
      }
    }
  }
  .split-chart {
    margin-top: 8px;
    width: 100%;
    .single-chart {
      width: 50%;
      display: inline-block;
    }
    .single-chart-full {
      width: 100%;
      display: inline-block;
    }
  }
  .no-main-chart {
    height: 288px;
    padding-top: 62px;
    .img-box {
      width: 120px;
      height: 110px;
      margin: 0 auto 8px auto;
      .img {
        user-select: none;
        width: 120px;
        height: 110px;
      }
    }
    .tip {
      font-size: 14px;
      color: #4E5B71;
      text-align: center;
      line-height: 20px;
    }
  }
  .open-helios-service {
    height: 300px;
    padding: 20px;
    .main-title {
      text-align: center;
      margin: 20px 0 28px 0;
      font-size: 20px;
      color: #4E5B71;
      line-height: 28px;
    }
    .display-box {
      display: flex;
      justify-content: space-around;
      margin-bottom: 24px;
      .single-ad-card {
        width: calc((100% - 180px)/5);
        margin: 0 20px;
        .img-box {
          margin: 0 auto;
          width: 56px;
          height: 56px;
          .img {
            user-select: none;
            width: 56px;
            height: 56px;
          }
        }
        .name {
          margin-top: 8px;
          font-size: 12px;
          color: #848C95;
          letter-spacing: 0.1px;
          text-align: center;
          line-height: 16px;
        }
      }
    }
    .btn-box {
      text-align: center;
    }
  }
}

.main-charts-tooltip-bar, .main-charts-tooltip-line {
  .year-title {
    font-size: 14px;
    color: #848C95;
    letter-spacing: 0.1px;
    line-height: 20px;
    margin-bottom: 8px;
  }
  .single-dimension {
    margin-bottom: 8px;
    .title-and-dot {
      display: flex;
      justify-content: left;
      margin-bottom: 4px;
      .dot {
        position: relative;
        top: 4px;
        border-radius: 2px;
        width: 8px;
        height: 8px;
        margin-right: 5px;
      }
      .dot-circle {
        position: relative;
        top: 4px;
        border-radius: 50%;
        width: 8px;
        height: 8px;
        margin-right: 5px;
        &:after {
          background-color: #fff;
          content: "";
          position: absolute;
          border-radius: 50%;
          width: 5px;
          height: 5px;
          left: 50%;
          top: 50%;
          transform: translate(-50%, -50%);
        }
      }
      .dimension-title {
        font-size: 12px;
        color: #1E2126;
        letter-spacing: 0.09px;
        line-height: 16px;
      }
    }
    .value-box {
      display: flex;
      .single-value {
        min-width: 100px;
        font-size: 12px;
        color: #4E5B71;
        letter-spacing: 0.1px;
        line-height: 16px;
        .value-text {
          color: #000F00;
          font-weight: 500;
        }
        &:last-child {
          margin-left: 10px;
        }
      }
    }
    &:last-child {
      margin-bottom: 0;
    }
  }
}

@media screen and (max-width: 1400px) {
  .home-main-charts {
    height: 960px;
    .split-chart {
      width: 100%;
      .single-chart {
        width: 100%;
      }
    }
    &.spatial-condition {
      height: 640px;
    }

    .open-helios-service {
      .display-box {
        flex-wrap: wrap;
        .single-ad-card {
          width: calc((100% - 120px)/2);
          margin-bottom: 40px;
        }
      }
    }
  }
}
